package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.PayRoll;
import cn.wolfcode.crm.query.PayRollQueryObject;
import cn.wolfcode.crm.query.QueryObject;

import java.util.List;

public interface PayRollMapper {
    int deleteByPrimaryKey(Long id);

    int insert(PayRoll record);

    PayRoll selectByPrimaryKey(Long id);

    List<PayRoll> selectAll();

    int updateByPrimaryKey(PayRoll record);

    int queryForCount(PayRollQueryObject qo);

    List<PayRoll> queryForList(PayRollQueryObject qo);

    void updateById(PayRoll payRoll);
}